package com.twu.biblioteca;

import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: mbokhari
 * Date: 11/07/2013
 * Time: 13:02
 * To change this template use File | Settings | File Templates.
 */
public class BookShelf implements MenuInterface {
    private Notifier notifier = new Notifier();
    private Library library;

    public BookShelf(Library library) {
        this.library = library;
    }

    public void runItems() {

        ArrayList<Book> bookList = library.returnAllBooksInLibrary();
        notifier.displayAllBooksInLibrary(bookList);
    }
}
